Disable speculative loads only if SSBS is supported
authorSami Mujawar <[email protected]>
Fri, 10 May 2019 13:28:37 +0000 (14:28 +0100)
committerSami Mujawar <[email protected]>
Tue, 14 May 2019 14:57:10 +0000 (15:57 +0100)
commiteca6e45336d81d924948bcff2f3db8488252f17b
tree2855adb7871297cd05c897cfa1f8e0ac86cf0468
parentc33aa45f4400bc7c09fed1300bc59e0e70d36bd8
Disable speculative loads only if SSBS is supported

Examine the ID_AA64PFR1_EL1 bits 7:4 to see if speculative
loads (SSBS) is implemented, before disabling speculative
loads.

Change-Id: I7607c45ed2889260d22a94f6fd9af804520acf67
Signed-off-by: Sami Mujawar <[email protected]>
lib/cpus/aarch64/neoverse_n1.S